package com.wontube.smr.web.client;

import java.util.List;

import com.wontube.client.modle.vo.PagenateInfo;
import com.wontube.smr.web.client.model.po.Blog;
import com.wontube.smr.web.client.model.po.BlogCategory;
import com.wontube.smr.web.client.model.po.BlogTag;
import com.wontube.smr.web.client.model.vo.BlogItems;

/**
 * @author tanggf(2012-5-25)
 *
 */
public interface IBlogHandler {
	/**
	 * @param pageInfo
	 * @return
	 */
	BlogItems listBlogs(PagenateInfo pageInfo);
	
	BlogItems listTypeBlogs(PagenateInfo pageInfo,String type,String typeName);
	
	/**
	 * get blog detail by url title
	 * @param urlTitle
	 * @return
	 */
	Blog getBlog(String urlTitle);
	
	/**
	 * get blog tags
	 * @return
	 */
	public List<BlogTag> listAllBlogTags(PagenateInfo pageInfo);
	
	public List<BlogTag> listAllBlogTags();

	/**
	 * get blog categorys
	 * @return
	 */
	public List<BlogCategory> listAllBlogCategories();
}
